import request from '@/utils/request'
//对象类型api
// 对象类型列表
export function getObjTypeList(params) {
  return request({
    url: '/objType/list',
    method: 'get',
    params
  })
}
// 删除对象类型
export function delObjType(params) {
  return request({
    url: `/objType/delete`,
    method: 'delete',
    params
  })
}

export function saveObjType(data) {
  return request({
    url: '/objType/save',
    method: 'post',
    data
  })
}


// 获取对象类型详情
export function getObjTypeDetail(params) {
  return request({
    url: `/objType/detail`,
    method: 'get',
    params
  })
}